# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(TableView)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(TableView_SRCS tablePlugin.cpp)
QT4_WRAP_CPP(TableView_SRCS tablePlugin.h)

add_library(TableView SHARED ${TableView_SRCS})
add_dependencies(TableView KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(TableView KontAMabil ${QT_LIBRARIES})

install(TARGETS TableView DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS TableView ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

